package com.ruoyi.warning.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.warning.domain.entity.Syslog;
import com.ruoyi.warning.domain.entity.WarningSyslogConfiguration;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 告警配置表 Mapper 接口
 * </p>
 *
 * @author chenhc
 * @since 2025-07-31
 */
public interface WarningSyslogConfigurationMapper extends BaseMapper<WarningSyslogConfiguration> {

    List<Syslog> getFiveMinuteLog(@Param("now") Date now, @Param("fiveMinuteAgo") Date fiveMinuteAgo);
}
